package com.bootredis.bootredis.mapper;

import com.bootredis.bootredis.vo.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface EmpMapper {

    @Select("select * from emp")
    List<Emp> findAll();
}
